package com.wyc.internalCommon.exception;

/**
 * 自定义订单抛出异常
 */
public class OrderException extends RuntimeException{

    private Integer code;
    private String msg;

    public OrderException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setCode(final Integer code) {
        this.code = code;
    }

    public void setMsg(final String msg) {
        this.msg = msg;
    }


}
